using System;
using System.Collections.Generic;
using Scrips.CharacterBehavior;
using Scrips.PlayerData;
using UnityEngine;

public class Player_Cc : MonoBehaviour
{

    /// <summary>
    /// 动画控制器
    /// </summary>
    [NonSerialized] public Animator playerAni;

    public Rigidbody rigidbody;
    private void Start()
    {
        rigidbody = GetComponent<Rigidbody>();
        //执行状态类的初始化
        PlayerStateManger.instance.Init(this);
        // playerAni = gameObject.GetComponent<Animator>();
    }

    private void Update()
    {
        //不断更新状态
        PlayerStateManger.instance.UpdateState();
    }


}